import { createApp } from 'vue'
import store from '@/service/store'
import ClassRequest from '@/service/request'
import config from '@/config'
import App from './App.vue'
import router from '@/service/router'
import '@/assets/styles/reset.css'
import '@/assets/styles/base.css'

if (__CONFIG) {config.base=__CONFIG}
const app = createApp(App)
const api = new ClassRequest(store,config)
app.use(router)
	.provide('$store',store)
	.provide('$config',config)
	.provide('$api',api)
	.mount('#app')
